<!--
**********************************************************
* @Author: 张小平
* @Date:   2024-05-01
* @Email:  qqshuqian@163.com
* @Last modified: 最后修改日期
* @Description: 文件描述
**********************************************************
-->
<template>
    <div class="user">
        <basic-container>
            <avue-crud
                    v-model="form"
                    v-model:page="page"
                    v-model:search="searchForm"
                    :permission="getPermission"
                    v-bind="bindVal"
                    v-on="onEvent"
                    :option="option"
                    :data="tableData"
                    :before-open="beforeOpen"
            >
            </avue-crud>
        </basic-container>
    </div>
</template>

<script>
    import curdMixin from '@/framework-core/mixins/crud';
    import {tableOption} from "./sysTenant";


    export default {
        name: "sys_tenant",
        mixins: [curdMixin],
        data() {
            return {
                pageConfig:{"url":"sys/sysTenant","permissionConfig":"sys_systenant"},
                searchForm: {},
                loading: false,
                form:{},
                option: tableOption,
                imgdatas:[],

            };
        },
        computed: {
            ...mapState({
                permissions: (state) =>state.user.permission,
            })

        },
        created() {
            this.init();
        },
        methods: {
            init() {
            },
            getPermission: function (key, row, index) {
                return this.getCommPermission(key, row, index);
            },

        }
    };
</script>
<style lang="scss">

</style>
